// lodash 中的 curry 基本使用 
const _ = require('loadsh')

function getSum (a, b , c) {
  return a + b + c
}

const a = _.curry(getSum)

console.log(a(1,2,3))

console.log(a(1)(2,3))
console.log(a(1, 2)(3))
console.log(a(1)(2)(3))